#ifndef UNLINKGITSOLUTION_H
#define UNLINKGITSOLUTION_H

#include "solutions.h"


/**
 * @brief 移除 git 软链接
 */
class UnlinkGitSolution : public Solution
{
public:
    UnlinkGitSolution();

    // Solution interface
public:
    virtual QString name() override;
    virtual QString state() override;
    virtual bool solution(const QString &workdir, const QString &name, const QString &path) override;
    virtual bool solution_apply(const QString &workdir, const QString &name, const QString &path) override;
    virtual bool solution_undo(const QString &workdir, const QString &name, const QString &path) override;
};

#endif // UNLINKGITSOLUTION_H
